<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>WB32L003 Standard Peripherals Firmware Library: wb32l003_adc.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">WB32L003 Standard Peripherals Firmware Library
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_6d2d5b60bd20db849a9486835a2715aa.html">Libraries</a></li><li class="navelem"><a class="el" href="dir_5ec8cccc32fa528457f3b4ed28e1a2cf.html">WB32L003_StdPeriph_Driver</a></li><li class="navelem"><a class="el" href="dir_5de9c861c65ef79c1ee42b85520795c1.html">src</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">wb32l003_adc.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>This file provides all the ADC firmware functions.  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;<a class="el" href="wb32l003__adc_8h_source.html">wb32l003_adc.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="wb32l003__rcc_8h_source.html">wb32l003_rcc.h</a>&quot;</code><br />
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ga4cf260061a5aac496f191a754dfe58cf"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_d_c___private___defines.html#ga4cf260061a5aac496f191a754dfe58cf">ADC_CR0_ADCEN_Msk</a>&#160;&#160;&#160;(0x1UL)</td></tr>
<tr class="separator:ga4cf260061a5aac496f191a754dfe58cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga74fab721092aaad202f79f4f1b411dc7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_d_c___private___defines.html#ga74fab721092aaad202f79f4f1b411dc7">ADC_CR0_SWSTART_Set</a>&#160;&#160;&#160;(0x2UL)</td></tr>
<tr class="separator:ga74fab721092aaad202f79f4f1b411dc7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7904a40ffe59ecaf7ea6da6a91ec3080"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_d_c___private___defines.html#ga7904a40ffe59ecaf7ea6da6a91ec3080">ADC_CR0_SAM_Msk</a>&#160;&#160;&#160;(0x800UL)</td></tr>
<tr class="separator:ga7904a40ffe59ecaf7ea6da6a91ec3080"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabb1c57ff54dfd1298faba9e637c46d08"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_d_c___private___defines.html#gabb1c57ff54dfd1298faba9e637c46d08">ADC_CR0_SEL_Msk</a>&#160;&#160;&#160;(0x700UL | 0x80UL)</td></tr>
<tr class="separator:gabb1c57ff54dfd1298faba9e637c46d08"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1a7c1fb7a32548a769535fbb0bd4170c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_d_c___private___defines.html#ga1a7c1fb7a32548a769535fbb0bd4170c">ADC_CR0_CLKSEL_Msk</a>&#160;&#160;&#160;(0x70UL)</td></tr>
<tr class="separator:ga1a7c1fb7a32548a769535fbb0bd4170c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga238a3e365c2d4daddef2bd638d262c79"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_d_c___private___defines.html#ga238a3e365c2d4daddef2bd638d262c79">ADC_CR1_RACC_EN_Msk</a>&#160;&#160;&#160;(0x800UL)</td></tr>
<tr class="separator:ga238a3e365c2d4daddef2bd638d262c79"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga57684d1d4725b21fb4b839b9fa149e03"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_d_c___private___defines.html#ga57684d1d4725b21fb4b839b9fa149e03">ADC_CR1_TRIGS0_Msk</a>&#160;&#160;&#160;(0x1fUL)</td></tr>
<tr class="separator:ga57684d1d4725b21fb4b839b9fa149e03"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf2fb1910b51080f8529f0d7d5b28ec0f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_d_c___private___defines.html#gaf2fb1910b51080f8529f0d7d5b28ec0f">ADC_CR1_TRIGS1_Msk</a>&#160;&#160;&#160;(0x3e0UL)</td></tr>
<tr class="separator:gaf2fb1910b51080f8529f0d7d5b28ec0f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga70a9ef55eec5c2fa61cd38d574fa04e3"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_d_c___private___defines.html#ga70a9ef55eec5c2fa61cd38d574fa04e3">ADC_CR2_CIRCLE_MODE_Msk</a>&#160;&#160;&#160;(0x10000UL)</td></tr>
<tr class="separator:ga70a9ef55eec5c2fa61cd38d574fa04e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9658c5e1a490d04e6375894483b52729"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_d_c___private___defines.html#ga9658c5e1a490d04e6375894483b52729">ADC_CR2_ADCCNT_Msk</a>&#160;&#160;&#160;(0xff00UL)</td></tr>
<tr class="separator:ga9658c5e1a490d04e6375894483b52729"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8b0b056ef3893ea340a491ac94a65b52"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_d_c___private___defines.html#ga8b0b056ef3893ea340a491ac94a65b52">ADC_CR2_CHEN_Msk</a>&#160;&#160;&#160;(0xffUL | (0xff00000UL))</td></tr>
<tr class="separator:ga8b0b056ef3893ea340a491ac94a65b52"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga14e81a6c909013902958edd1b6ffdd5d"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CR0_CONFIG_CLEAR_Msk</b>&#160;&#160;&#160;(<a class="el" href="group___a_d_c___private___defines.html#ga7904a40ffe59ecaf7ea6da6a91ec3080">ADC_CR0_SAM_Msk</a> | <a class="el" href="group___a_d_c___private___defines.html#gabb1c57ff54dfd1298faba9e637c46d08">ADC_CR0_SEL_Msk</a> | <a class="el" href="group___a_d_c___private___defines.html#ga1a7c1fb7a32548a769535fbb0bd4170c">ADC_CR0_CLKSEL_Msk</a>)</td></tr>
<tr class="separator:ga14e81a6c909013902958edd1b6ffdd5d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga08ceb21e7e806bc0e11bb42b794f0d34"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CR1_CONFIG_CLEAR_Msk</b>&#160;&#160;&#160;(<a class="el" href="group___a_d_c___private___defines.html#ga238a3e365c2d4daddef2bd638d262c79">ADC_CR1_RACC_EN_Msk</a> | <a class="el" href="group___a_d_c___private___defines.html#ga57684d1d4725b21fb4b839b9fa149e03">ADC_CR1_TRIGS0_Msk</a> | <a class="el" href="group___a_d_c___private___defines.html#gaf2fb1910b51080f8529f0d7d5b28ec0f">ADC_CR1_TRIGS1_Msk</a>)</td></tr>
<tr class="separator:ga08ceb21e7e806bc0e11bb42b794f0d34"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadb656dc5cc959ebbc2af119e8f74545b"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CR2_CONFIG_CLEAR_Msk</b>&#160;&#160;&#160;(<a class="el" href="group___a_d_c___private___defines.html#ga70a9ef55eec5c2fa61cd38d574fa04e3">ADC_CR2_CIRCLE_MODE_Msk</a> | <a class="el" href="group___a_d_c___private___defines.html#ga9658c5e1a490d04e6375894483b52729">ADC_CR2_ADCCNT_Msk</a> | <a class="el" href="group___a_d_c___private___defines.html#ga8b0b056ef3893ea340a491ac94a65b52">ADC_CR2_CHEN_Msk</a>)</td></tr>
<tr class="separator:gadb656dc5cc959ebbc2af119e8f74545b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga1962afdd9eebe5c896bbba2e4f26fe09"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_d_c___private___functions.html#ga1962afdd9eebe5c896bbba2e4f26fe09">ADC_DeInit</a> (void)</td></tr>
<tr class="memdesc:ga1962afdd9eebe5c896bbba2e4f26fe09"><td class="mdescLeft">&#160;</td><td class="mdescRight">Deinitializes the ADC peripheral registers to their default reset values.  <a href="group___a_d_c___private___functions.html#ga1962afdd9eebe5c896bbba2e4f26fe09">More...</a><br /></td></tr>
<tr class="separator:ga1962afdd9eebe5c896bbba2e4f26fe09"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadc1012522059ab30d266fe9d634a2bde"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_d_c___private___functions.html#gadc1012522059ab30d266fe9d634a2bde">ADC_Init</a> (<a class="el" href="struct_a_d_c___init_type_def.html">ADC_InitTypeDef</a> *ADC_InitStruct)</td></tr>
<tr class="memdesc:gadc1012522059ab30d266fe9d634a2bde"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes the ADC peripheral according to the specified parameters in the ADC_InitStruct.  <a href="group___a_d_c___private___functions.html#gadc1012522059ab30d266fe9d634a2bde">More...</a><br /></td></tr>
<tr class="separator:gadc1012522059ab30d266fe9d634a2bde"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6c6e754d1d0a98d56e465efaf73272ec"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_d_c___private___functions.html#ga6c6e754d1d0a98d56e465efaf73272ec">ADC_StructInit</a> (<a class="el" href="struct_a_d_c___init_type_def.html">ADC_InitTypeDef</a> *ADC_InitStruct)</td></tr>
<tr class="memdesc:ga6c6e754d1d0a98d56e465efaf73272ec"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fills each ADC_InitStruct member with its default value.  <a href="group___a_d_c___private___functions.html#ga6c6e754d1d0a98d56e465efaf73272ec">More...</a><br /></td></tr>
<tr class="separator:ga6c6e754d1d0a98d56e465efaf73272ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga17fefa48db4b468048475c4a23356d69"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_d_c___private___functions.html#ga17fefa48db4b468048475c4a23356d69">ADC_Cmd</a> (FunctionalState NewState)</td></tr>
<tr class="memdesc:ga17fefa48db4b468048475c4a23356d69"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables or disables the ADC peripheral.  <a href="group___a_d_c___private___functions.html#ga17fefa48db4b468048475c4a23356d69">More...</a><br /></td></tr>
<tr class="separator:ga17fefa48db4b468048475c4a23356d69"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1a7977f0de450fb7e1d38fd42d71ef33"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_d_c___private___functions.html#ga1a7977f0de450fb7e1d38fd42d71ef33">ADC_ITConfig</a> (uint32_t ADC_IT, FunctionalState NewState)</td></tr>
<tr class="memdesc:ga1a7977f0de450fb7e1d38fd42d71ef33"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables or disables the specified ADC interrupts.  <a href="group___a_d_c___private___functions.html#ga1a7977f0de450fb7e1d38fd42d71ef33">More...</a><br /></td></tr>
<tr class="separator:ga1a7977f0de450fb7e1d38fd42d71ef33"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga70dcb2d976b8dc5cbcbc10ad5f6ff751"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_d_c___private___functions.html#ga70dcb2d976b8dc5cbcbc10ad5f6ff751">ADC_SoftwareStartConvCmd</a> (FunctionalState NewState)</td></tr>
<tr class="memdesc:ga70dcb2d976b8dc5cbcbc10ad5f6ff751"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables or disables the selected ADC software start conversion.  <a href="group___a_d_c___private___functions.html#ga70dcb2d976b8dc5cbcbc10ad5f6ff751">More...</a><br /></td></tr>
<tr class="separator:ga70dcb2d976b8dc5cbcbc10ad5f6ff751"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae64ae715dd57b437adeaa18bf28cc3ef"><td class="memItemLeft" align="right" valign="top">FlagStatus&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_d_c___private___functions.html#gae64ae715dd57b437adeaa18bf28cc3ef">ADC_GetSoftwareStartConvStatus</a> (void)</td></tr>
<tr class="memdesc:gae64ae715dd57b437adeaa18bf28cc3ef"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the selected ADC Software start conversion Status.  <a href="group___a_d_c___private___functions.html#gae64ae715dd57b437adeaa18bf28cc3ef">More...</a><br /></td></tr>
<tr class="separator:gae64ae715dd57b437adeaa18bf28cc3ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac66330e8d2a07e90c31102da2b7ed5db"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_d_c___private___functions.html#gac66330e8d2a07e90c31102da2b7ed5db">ADC_GetConversionValue</a> (uint32_t Channel)</td></tr>
<tr class="memdesc:gac66330e8d2a07e90c31102da2b7ed5db"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the last ADC conversion result data for regular channel.  <a href="group___a_d_c___private___functions.html#gac66330e8d2a07e90c31102da2b7ed5db">More...</a><br /></td></tr>
<tr class="separator:gac66330e8d2a07e90c31102da2b7ed5db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1cca8fc361e233eb5eb2b60f5dd28dda"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_d_c___private___functions.html#ga1cca8fc361e233eb5eb2b60f5dd28dda">ADC_GetAccValue</a> (void)</td></tr>
<tr class="memdesc:ga1cca8fc361e233eb5eb2b60f5dd28dda"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets ADC accumulation conversion result.  <a href="group___a_d_c___private___functions.html#ga1cca8fc361e233eb5eb2b60f5dd28dda">More...</a><br /></td></tr>
<tr class="separator:ga1cca8fc361e233eb5eb2b60f5dd28dda"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5d766f4ed702e465183b7d91cfbe12f1"><td class="memItemLeft" align="right" valign="top">ITStatus&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_d_c___private___functions.html#ga5d766f4ed702e465183b7d91cfbe12f1">ADC_GetITStatus</a> (uint16_t ADC_IT)</td></tr>
<tr class="memdesc:ga5d766f4ed702e465183b7d91cfbe12f1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks whether the specified ADC interrupt is set or not.  <a href="group___a_d_c___private___functions.html#ga5d766f4ed702e465183b7d91cfbe12f1">More...</a><br /></td></tr>
<tr class="separator:ga5d766f4ed702e465183b7d91cfbe12f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0de1904ef4253ab214087422aedbbabe"><td class="memItemLeft" align="right" valign="top">FlagStatus&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_d_c___private___functions.html#ga0de1904ef4253ab214087422aedbbabe">ADC_GetFlagStatus</a> (uint16_t ADC_FLAG)</td></tr>
<tr class="memdesc:ga0de1904ef4253ab214087422aedbbabe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks whether the specified ADC flag is set or not.  <a href="group___a_d_c___private___functions.html#ga0de1904ef4253ab214087422aedbbabe">More...</a><br /></td></tr>
<tr class="separator:ga0de1904ef4253ab214087422aedbbabe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga06e8047db33c89ef576bf868f7d011c8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_d_c___private___functions.html#ga06e8047db33c89ef576bf868f7d011c8">ADC_ClearITPendingBit</a> (uint16_t ADC_IT)</td></tr>
<tr class="memdesc:ga06e8047db33c89ef576bf868f7d011c8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears the ADC pending interrupt bits.  <a href="group___a_d_c___private___functions.html#ga06e8047db33c89ef576bf868f7d011c8">More...</a><br /></td></tr>
<tr class="separator:ga06e8047db33c89ef576bf868f7d011c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae3abfa0c2180f80f80ac898d3bc2e043"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_d_c___private___functions.html#gae3abfa0c2180f80f80ac898d3bc2e043">ADC_ClearFlag</a> (uint16_t ADC_FLAG)</td></tr>
<tr class="memdesc:gae3abfa0c2180f80f80ac898d3bc2e043"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears the ADC pending interrupt flags.  <a href="group___a_d_c___private___functions.html#gae3abfa0c2180f80f80ac898d3bc2e043">More...</a><br /></td></tr>
<tr class="separator:gae3abfa0c2180f80f80ac898d3bc2e043"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7ea5ff004af3f10269851c2aae923370"><td class="memItemLeft" align="right" valign="top">FlagStatus&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_d_c___private___functions.html#ga7ea5ff004af3f10269851c2aae923370">ADC_GetRawFlagStatus</a> (uint16_t ADC_FLAG)</td></tr>
<tr class="memdesc:ga7ea5ff004af3f10269851c2aae923370"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks whether the specified ADC flag is set or not.  <a href="group___a_d_c___private___functions.html#ga7ea5ff004af3f10269851c2aae923370">More...</a><br /></td></tr>
<tr class="separator:ga7ea5ff004af3f10269851c2aae923370"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0e2073a409ebaf97c3bc324c54fdea0f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_d_c___private___functions.html#ga0e2073a409ebaf97c3bc324c54fdea0f">ADC_ThresholdsConfig</a> (uint16_t LowThreshold, uint16_t HighThreshold)</td></tr>
<tr class="memdesc:ga0e2073a409ebaf97c3bc324c54fdea0f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configures the high and low thresholds of the analog watchdog.  <a href="group___a_d_c___private___functions.html#ga0e2073a409ebaf97c3bc324c54fdea0f">More...</a><br /></td></tr>
<tr class="separator:ga0e2073a409ebaf97c3bc324c54fdea0f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf74315123cc41071bcaa9930a4f8b491"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___a_d_c___private___functions.html#gaf74315123cc41071bcaa9930a4f8b491">ADC_ThresholdsCompareCmd</a> (uint16_t Threshold_Config, FunctionalState NewState)</td></tr>
<tr class="memdesc:gaf74315123cc41071bcaa9930a4f8b491"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables or disables the thresholds to compare with the function of analog watchdog.  <a href="group___a_d_c___private___functions.html#gaf74315123cc41071bcaa9930a4f8b491">More...</a><br /></td></tr>
<tr class="separator:gaf74315123cc41071bcaa9930a4f8b491"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>This file provides all the ADC firmware functions. </p>
<dl class="section author"><dt>Author</dt><dd>Westberry Application Team </dd></dl>
<dl class="section version"><dt>Version</dt><dd>V0.0.3 </dd></dl>
<dl class="section date"><dt>Date</dt><dd>12-April-2023 </dd></dl>
</div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by Westberry Technology (ChangZhou) Corp., Ltd. All rights reserved.
</small></address>
</body>
</html>
